package com.xkxx.task.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xkxx.task.entity.BatchData;

/**
 * @Author: K-9999
 * @Date: 2022/12/15
 * @Description:
 */
public interface BatchDataService extends IService<BatchData> {

    BatchData getBatchData(Integer appId, Integer batchNo);

    Boolean updateBatchData(Integer id, BatchData data);

    Boolean updateBatchDataInProgress(Integer id, BatchData data);

    Boolean updateBatchDataDone(Integer id, BatchData data);

    Boolean addBatchData(BatchData data);

    BatchData getBatchDataOrderByCreateTime();
}
